#ifndef AUTODATABASE_H
#define AUTODATABASE_H

#include <qsqldatabase.h>
#include "dbpool.h"

class AutoDatabase
{
public:
    AutoDatabase();
    ~AutoDatabase();

public:
    QSqlDatabase getDb();

protected:
    QSqlDatabase m_db;
};

#endif // AUTOBATABASE_H
